<template>
  <div class="container">
    <Header :back="true"></Header>
    <div class="item" @click="go('companyRules')">
      <div class="img">
       <img src="@/assets/image/company/gszc.png" alt="">
      </div>
      <div class="title">
        <div>公司章程</div>
        <div>资料文件</div>
      </div>
    </div>
    <div class="item" @click="go('resolutions')">
      <div class="img">
        <img src="@/assets/image/company/gdhjy.png" alt="">
      </div>
      <div class="title">
        <div>股东会决议</div>
        <div>资料文件</div>
      </div>
    </div>
    <div class="item" @click="go('license')">
      <div class="img">
        <img src="@/assets/image/company/yyzz.png" alt="">
      </div>
      <div class="title">
        <div>营业执照扫描件</div>
        <div>资料文件</div>
      </div>
    </div>
  </div>
</template>

<script>
import Header from "@/components/header";
export default {
  components: {
    Header,
  },
  methods: {
    go(path){
      this.$router.push(path)
    }
  },
};
</script>

<style lang="less" scoped>
.container {
  .item {
    height: 8rem;
    box-shadow: 0px -2px 8px 1px rgba(34, 24, 24, 0.08);
    display: flex;
    .img {
      flex: 2;
      color: #00b5fc;
      display: flex;
      justify-content: center;
      align-items: center;
      img{
        width: 6rem;
        height: 6rem;
      }
    }
    .title {
      flex: 8;
      color: #00b5fc;
      display: flex;
      flex-direction: column;
      justify-content: center;
      div{
        &:first-child{
          font-size: 16px;
        }
        &:last-child{
          color: #999;
        }
      }
    }
    &:first-child{
       border-top: 1px solid #eee;
    }
  }
}
</style>